package net.ib.mtalk.database.task;

import java.util.UUID;

import net.ib.mtalk.database.helper.InboxDatabaseHelper;
import android.content.Context;
import android.os.Handler;

/**
 * Inbox 에서 메시지 빽업을 위해 ViewUUID 에 대한 메시지를 읽어 온다.
 * @author happy2v
 *
 */
public class DBBackupHistoryMessagesTask extends AsyncClientTask{

	private UUID mClientViewUuid;
	public DBBackupHistoryMessagesTask(Context context, Handler handler, UUID clientViewUuid){
		super(context, handler);
		mClientViewUuid = clientViewUuid;
	}

	@Override
	protected void onPostExecute(int resultCode, Object sentObject,
			Object receivedObject) {
		InboxDatabaseHelper.getHistoryMessageBackup(mContext, mClientViewUuid);
	}
}
